function request(url) {
    var params = {};
    params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED;
    url="http://www.google.com/ig/api?weather="+document.getElementById('hostName').value;
    gadgets.io.makeRequest(url, callback, params);
  };
  function callback(dataToGEt){  
     var parser=new DOMParser();
       var doc=parser.parseFromString(dataToGEt.text,'text/xml');
     var jData = $( doc ).find('current_conditions');
     var temp = jData.children();
     temp.each(
        function(intTemp){
        if($( this )[0].nodeName=='temp_f'){
          document.getElementById('friends').innerHTML=$( this ).attr("data");
       }
     });
   };
document.getElementById('includedContent').innerHTML='';
